<template>
    <h1>
      Login Page
    </h1>
    <div>
      <nav>
      <RouterLink to="/login/loginemail">Login Email</RouterLink>
      <RouterLink to="/login/loginphone">Login Phone</RouterLink>
      </nav>
    </div>
      <RouterView />
  
</template>

<style scoped>
h1 {
  height: 5vh;
  /* width: 20vw; */
  text-align: center;
  color: var(--color-green);
}
nav {
  height: 5vh;
  width: 100%;
  font-size: 24px;
  text-align: center;
}

nav a.router-link-exact-active {
  color: var(--color-text);
}

nav a.router-link-exact-active:hover {
  background-color: transparent;
}

nav a {
  display: inline-block;
  padding: 0 1rem;
  border-left: 1px solid var(--color-border);
}

nav a:first-of-type {
  border: 0;
}

@media (min-width: 403px) {
  header .wrapper {
    display: flex;
    place-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    text-align: center;
    font-size: 20px;
    padding: 1rem 0;
  }
}
</style>